package com.gxa.pojo;

import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.Date;

@Component
public class ShangPin {

  private long id;
  private long shangPinTypeId;
  private String shangPinBianHao;
  private String shangPinMingCheng;
  private String guiGeXingHao;
  private long dangQianKuCun;
  private BigDecimal qiChuShuLiang;
  private BigDecimal danWeiChengBen;
  private BigDecimal qiChuZongJia;
  private BigDecimal yuJiCaiGouJia;
  private double lingShouJia;
  private String beiZhu;
  private Date shengChanRiQi;
  private long youXiaoQiTianShu;
  private String huoWei;
  private long zhuangTai;
  private Unit unit;
  private ShangPinType shangPinType;
  private GouHuoShangPin gouHuoShangPin;
  private XiaoHuoDanShangPin xiaoHuoDanShangPin;
  private CangKu cangku;
  private ShangPinDanJu shangPinDanJu;



  public BigDecimal getQiChuShuLiang() {
    return qiChuShuLiang;
  }

  public void setQiChuShuLiang(BigDecimal qiChuShuLiang) {
    this.qiChuShuLiang = qiChuShuLiang;
  }

  public BigDecimal getDanWeiChengBen() {
    return danWeiChengBen;
  }

  public void setDanWeiChengBen(BigDecimal danWeiChengBen) {
    this.danWeiChengBen = danWeiChengBen;
  }

  public BigDecimal getQiChuZongJia() {
    return qiChuZongJia;
  }

  public void setQiChuZongJia(BigDecimal qiChuZongJia) {
    this.qiChuZongJia = qiChuZongJia;
  }

  public BigDecimal getYuJiCaiGouJia() {
    return yuJiCaiGouJia;
  }

  public void setYuJiCaiGouJia(BigDecimal yuJiCaiGouJia) {
    this.yuJiCaiGouJia = yuJiCaiGouJia;
  }



  public ShangPinDanJu getShangPinDanJu() {
    return shangPinDanJu;
  }

  public void setShangPinDanJu(ShangPinDanJu shangPinDanJu) {
    this.shangPinDanJu = shangPinDanJu;
  }




  public void setShangPinLeiBie(ShangPinType shangPinLeiBie) {
    this.shangPinType = shangPinType;
  }




  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public long getShangPinTypeId() {
    return shangPinTypeId;
  }

  public void setShangPinTypeId(long shangPinTypeId) {
    this.shangPinTypeId = shangPinTypeId;
  }

  public String getShangPinBianHao() {
    return shangPinBianHao;
  }

  public void setShangPinBianHao(String shangPinBianHao) {
    this.shangPinBianHao = shangPinBianHao;
  }


  public String getShangPinMingCheng() {
    return shangPinMingCheng;
  }

  public void setShangPinMingCheng(String shangPinMingCheng) {
    this.shangPinMingCheng = shangPinMingCheng;
  }


  public String getGuiGeXingHao() {
    return guiGeXingHao;
  }

  public void setGuiGeXingHao(String guiGeXingHao) {
    this.guiGeXingHao = guiGeXingHao;
  }


  public long getDangQianKuCun() {
    return dangQianKuCun;
  }

  public void setDangQianKuCun(long dangQianKuCun) {
    this.dangQianKuCun = dangQianKuCun;
  }

  public double getLingShouJia() {
    return lingShouJia;
  }

  public void setLingShouJia(double lingShouJia) {
    this.lingShouJia = lingShouJia;
  }

  public String getBeiZhu() {
    return beiZhu;
  }

  public void setBeiZhu(String beiZhu) {
    this.beiZhu = beiZhu;
  }

  public Date getShengChanRiQi() {
    return shengChanRiQi;
  }

  public void setShengChanRiQi(Date shengChanRiQi) {
    this.shengChanRiQi = shengChanRiQi;
  }

  public long getYouXiaoQiTianShu() {
    return youXiaoQiTianShu;
  }

  public void setYouXiaoQiTianShu(long youXiaoQiTianShu) {
    this.youXiaoQiTianShu = youXiaoQiTianShu;
  }

  public String getHuoWei() {
    return huoWei;
  }

  public void setHuoWei(String huoWei) {
    this.huoWei = huoWei;
  }

  public long getZhuangTai() {
    return zhuangTai;
  }

  public void setZhuangTai(long zhuangTai) {
    this.zhuangTai = zhuangTai;
  }

  public Unit getUnit() {
    return unit;
  }

  public void setUnit(Unit unit) {
    this.unit = unit;
  }

  public ShangPinType getShangPinType() {
    return shangPinType;
  }

  public void setShangPinType(ShangPinType shangPinType) {
    this.shangPinType = shangPinType;
  }

  public GouHuoShangPin getGouHuoShangPin() {
    return gouHuoShangPin;
  }

  public void setGouHuoShangPin(GouHuoShangPin gouHuoShangPin) {
    this.gouHuoShangPin = gouHuoShangPin;
  }

  public XiaoHuoDanShangPin getXiaoHuoDanShangPin() {
    return xiaoHuoDanShangPin;
  }

  public void setXiaoHuoDanShangPin(XiaoHuoDanShangPin xiaoHuoDanShangPin) {
    this.xiaoHuoDanShangPin = xiaoHuoDanShangPin;
  }

  public CangKu getCangku() {
    return cangku;
  }

  public void setCangku(CangKu cangku) {
    this.cangku = cangku;
  }

  @Override
  public String toString() {
    return "ShangPin{" +
            "id=" + id +
            ", shangPinTypeId=" + shangPinTypeId +
            ", shangPinBianHao='" + shangPinBianHao + '\'' +
            ", shangPinMingCheng='" + shangPinMingCheng + '\'' +
            ", guiGeXingHao='" + guiGeXingHao + '\'' +
            ", dangQianKuCun=" + dangQianKuCun +
            ", qiChuShuLiang=" + qiChuShuLiang +
            ", danWeiChengBen=" + danWeiChengBen +
            ", qiChuZongJia=" + qiChuZongJia +
            ", yuJiCaiGouJia=" + yuJiCaiGouJia +
            ", lingShouJia=" + lingShouJia +
            ", beiZhu='" + beiZhu + '\'' +
            ", shengChanRiQi=" + shengChanRiQi +
            ", youXiaoQiTianShu=" + youXiaoQiTianShu +
            ", huoWei='" + huoWei + '\'' +
            ", zhuangTai=" + zhuangTai +
            ", unit=" + unit +
            ", shangPinType=" + shangPinType +
            ", gouHuoShangPin=" + gouHuoShangPin +
            ", xiaoHuoDanShangPin=" + xiaoHuoDanShangPin +
            ", cangku=" + cangku +
            ", shangPinDanJu=" + shangPinDanJu +
            '}';
  }
}
